package com.jiangxfei.mymvp.net;

import android.content.Context;

public interface IRepositoryManager {
    <T> T obtainRetrofitService(Class<T> service);

    <T> T obtainRetrofitService(Class<T> service, String url);

    <T> T obtainCacheService(Class<T> cache);

    void clearAllCache();

    Context getContext();
}
